
.square-block {
    position: relative;
	border: 1px solid transparent;
	width: 100%;
	background: transparent;
}
.square-block-dummy {
    margin-top: 56%;
}
.square-block-box {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    -moz-box-align: center;
    -moz-box-pack: justify;
    align-items: center;
    align-content: space-around;
    box-sizing: border-box;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    justify-content: center;
    overflow: hidden;
    width: 100%;
    height: 100%;
    flex-wrap: nowrap;
}

.square-block-box .dropzone-file-area{
	width: 100%;
	height: 100%;
	cursor: pointer;
}

.square-block-box video{
    width: 100%;
    max-height: 100%;
}

.square-block-dot {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 16px;
    background: #0193cc;
    z-index: 1;
}

.square-block-box.cropping:after{
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,.8) url(../images/loading.gif) no-repeat center center;
    z-index: 19999999;
}

.btn{
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4; 
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    text-decoration: none;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}
a.btn:hover{
    background-color: #3366b7;
}

.square-block-box .file{
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    background: url(images/file/default.png) no-repeat center center / auto 50%;
}
.square-block-box .file-application-x-zip-compressed{
    background-image: url(images/file/zip.png);
}
.square-block-box .file-application-pdf{
    background-image: url(images/file/pdf.png);
}

.preview-item{
	border: 1px solid #ccc;
	position: relative;
}
.preview-item .square-block {
	border-color: #f2f2f2;
	background: #f2f2f2;
}
.file-data{
	-moz-box-align: center;
    -moz-box-pack: justify;
    align-items: center;
    align-content: space-around;
    box-sizing: border-box;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    justify-content: center;
    overflow: hidden;
    flex-wrap: nowrap;
	padding: 10px;
	position: relative;
}
.file-data > .file-info{
	flex: 3;
}
.file-data > .file-actions{
	text-align: right;
	flex: 1;
}
.file-data > .file-actions .btn{
	
}
.file-info h3{
	margin: 0;
	padding: 0;
	font-size: 14px;
	text-align: justify;
	text-justify: newspaper;
	word-break: break-all;
}
.file-info p{
	margin: 0;
	padding: 0;
	font-size: 12px;
}


.preview-item.uploading:after{
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	content: '';
}
.preview-item.uploading .square-block,
.preview-item.uploading .file-info,
.preview-item.uploading .file-actions{
	filter:alpha(opacity=50);
	-moz-opacity:0.5;
	-khtml-opacity:0.5;
	opacity: 0.5;
}

.preview-item.uploading .file-data .progress{
	display: block;
}

.square-block-error{
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    padding: 5%;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -moz-box-align: center;
    align-items: center;
	background: rgba(0,0,0,.5);
	color: #fff;
}

.uploading-text{
	font-size: 12px;
	padding-left: 15px;
	background: url(./images/input-spinner.gif) no-repeat left center / auto 12px;
	filter:alpha(opacity=50);
	-moz-opacity:0.5;
	-khtml-opacity:0.5;
	opacity: 0.5;
}

.file-data .progress {
	position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    border: 0;
    box-shadow: none;
    filter: none;
    background: #f5f5f5;
    border-radius: 0;
    height: 2px;
    margin: 0;
    overflow: hidden;
	display: none;
}
.file-data .progress .progress-bar {
    background: #12BC00;
    color: #fff;
    float: left;
    font-size: 12px;
    height: 100%;
    line-height: 20px;
    text-align: center;
    transition: width 0.6s ease 0s;
    width: 0;
	box-shadow: none;
}


.plupload_wrapper{
    max-width: 468px;
}